package com.craterhill.java.ccp.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.craterhill.java.ccp.common.beans.Position;
import com.craterhill.java.ccp.dao.PositionDao;
import com.craterhill.java.ccp.service.PositionService;

@Service
public class PositionServiceImpl implements PositionService {

	@Autowired
	private PositionDao positionDao;

	public List<Position> getPositions()
	{
		return positionDao.findAll();
	}
 
	@Override
	public Position getPosition()
	{
		return null;
	}
}